package com.edu.compile.dto.httpresponse;

import com.alibaba.fastjson.JSON;
import com.edu.compile.dto.RequestParam;

public class HttpResponseParam extends RequestParam<HttpResponseParam> {
    private Integer source;

    private Integer sourceType;

    private String value;

    @Override
    public HttpResponseParam parse(String requestParam) {
        return JSON.parseObject(requestParam, HttpResponseParam.class);
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
